package com.app.service;

import com.app.model.KeyWorkModel;
import com.app.model.ProjectModel;
import com.app.vo.KeyWorkVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface KeyWorkService {

    KeyWorkVo keyWorkList(Integer type);

    List<KeyWorkModel> getListByModel(KeyWorkModel model);

    int getCountByModel(KeyWorkModel model);

    KeyWorkVo contentList(Integer id);

    List<KeyWorkModel> getContent(Integer id);

    int getCountById(Integer id);

    void set(KeyWorkModel model);

    void insert(KeyWorkModel model);

    void deleteProjectById(int id);

    KeyWorkVo keyWork(KeyWorkModel model);

    List<KeyWorkModel> getListByDepartmentId(Integer departmentId);


    KeyWorkModel getKeyWorkCount();

}
